package com.xbongbong.saas.service.recheck.abstracts;

import com.xbongbong.paas.toolbox.exception.XbbException;
import com.xbongbong.pro.common.pojo.CheckRepeatToolPojo;
import com.xbongbong.pro.common.pojo.ReCheckSearchResultPojo;
import com.xbongbong.pro.common.pojo.dto.CheckRepeatToolDTO;
import org.springframework.stereotype.Service;

/**
 * @author jiangren.li
 * @ProjectName xbb-pro
 * @Description: 重复规则抽象类
 * @date 2022/11/13 10:59
 */
@Service
public interface RecheckSearchStrategy {

    /**
     * 业务类型
     *
     * @return 业务类型
     */
    Integer type();


    /**
     * 查重结果集封装
     * reCheckSearchResultPojo 封装了查重需要透传的参数
     * @throws
     * @return
     * @author lijiangren
     * @date 2022-11-16 14 03
     * @since
     * @version
     */
    CheckRepeatToolPojo repeatResult(CheckRepeatToolDTO checkRepeatToolDTO, ReCheckSearchResultPojo reCheckSearchResultPojo)throws XbbException;
}
